<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <meta content="width=device-width, initial-scale=1" name="viewport">
    <title>玉灵 QQ:7031633 Email:webrx@126.com</title>
    <meta content="关键字" name="keywords">
    <meta content="简介" name="description">
    <style>
        .box {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background-color: orange;
            /*animation: a1 2s ease-in alternate 4 forwards;*/
            animation: a2 .5s ease-in alternate infinite, a3 1s 0s alternate infinite;
        }

        @keyframes a3 {
            from {
                background-color: orange;
            }
            to {
                background-color: #0ea432;
            }
        }

        @keyframes a2 {
            0% {
                transform: translate(0, 0);
            }
            100% {
                transform: translate(180px, 180px);
            }
        }


        @keyframes a1 {
            0% {
                transform: translate(0);
            }
            100% {
                transform: translate(180px);
            }
        }
    </style>
</head>

<body>
<div class="box"></div>
</body>
</html>
